﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="LEARNREN.COM.WebSite.Admin.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>乐人网站管理系统-管理员登录</title>
    <meta charset="utf8" />
    <link href="images/login.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="images/favicon.ico"/>
</head>
<body>
    <form id="form1" runat="server">
    <div id="main">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td colspan="3" style="height: 278px;">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td style="height: 157px; width: 29%; text-align: center;">
                    &nbsp;
                </td>
                <td style="height: 157px; width: 38%; text-align: center;">
                    <asp:Login ID="Login1" runat="server" RenderOuterTable="False" DestinationPageUrl="index.aspx">
                        <LayoutTemplate>
                            <table style="width: 100%; height: 127px;">
                                <tr>
                                    <td style="text-align: right; width: 24%; height: 22px;">
                                        <span>用户名：</span>
                                    </td>
                                    <td style="width: 55%; height: 22px;">
                                        <asp:TextBox ID="UserName" runat="server" CssClass="input_text" TabIndex="1"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                            ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。" ValidationGroup="Login1" 
                                            ForeColor="Red">*</asp:RequiredFieldValidator>
                                    </td>
                                    <td rowspan="4" style="width: 21%; height: 22px; vertical-align: bottom;">
                                        <asp:ImageButton ID="LoginButton" runat="server" CommandName="Login" ImageUrl="images/Login_LoginBtn.gif" ValidationGroup="Login1" TabIndex="4" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; width: 24%; height: 22px;">
                                        <span>密　码：</span>
                                    </td>
                                    <td style="width: 55%; height: 22px;">
                                        <asp:TextBox ID="Password" runat="server" TextMode="Password" 
                                            CssClass="input_text" TabIndex="2"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                            ErrorMessage="必须填写“密码”。" ToolTip="必须填写“密码”。" ValidationGroup="Login1" 
                                            ForeColor="Red">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; width: 24%; height: 22px;">
                                        &nbsp;
                                    </td>
                                    <td style="text-align: left;">
                                        <asp:CheckBox ID="RememberMe" runat="server" Text="下次记住我。" CssClass="vmiddle" 
                                            TabIndex="3" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="2" style="color: Red;">
                                        <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                            </table>
                        </LayoutTemplate>
                    </asp:Login>
                </td>
                <td width="33%" align="center">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td height="212" colspan="3">
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
